package com.team.teamuserservice.service;

import com.team.teamuserservice.entity.po.BizRescueTask;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 救援任务表 服务类
 * </p>
 *
 * @author cxs
 * @since 2025-07-10
 */
public interface IBizRescueTaskService extends IService<BizRescueTask> {

    /**
     * 抢单
     * @param userId
     * @param merchantId
     * @return
     */
    Boolean acceptRescue(Long userId, Long merchantId) throws InterruptedException;
}
